package com.mfc.education.service.edu.feign.fallback;

import com.mfc.education.common.base.result.R;
import com.mfc.education.service.edu.feign.VodMediaService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author mfc
 * @since 2021/9/17
 */
@Service
@Slf4j
public class OssVodServiceFallBack implements VodMediaService {
    @Override
    public R removeVideo(String videoId) {
        log.info("熔断保护");
        return R.error();
    }

    @Override
    public R removeVideoByIdList(List<String> videoIdList) {
        log.info("熔断保护");
        return R.error();
    }
}
